﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OMDR
{
    class UserInterface
    {
        private static UserInterface instance;

        private UserInterface()
        {
        }

        public static UserInterface getInstance
        {
            get
            {
                if (instance == null)
                {
                    instance = new UserInterface();
                }
                return instance;
            }
        }

        public void newObjective()
        {
        }

        public String selectProject()
        {
            String locProjectName = "";

            return locProjectName;
        }

        public void createObjective(String parName, String parDescription, String parType, int parPhase, String parProcess)
        {
            UserController locUserController = UserController.getInstance;

            locUserController.createObjective(parName, parDescription, parType, parPhase, parProcess);
        }

        public void displayProjectListScreen(List<Project> parProjectList)
        {

        }

        public void displayCreateObjectiveScreen()
        {
            SpecificObjectifScreen locSpecificObjectifScreen = new SpecificObjectifScreen();
        }

        public void displayProjectTreeInIHM(Project parProject)
        {
        }

        public void updateProjectTreeInIHM(Project parProject)
        {
        }
    }
}
